Symbolic Evaluation of Chains of Recurrences for Loop Optimization

نویسنده

  • Robert A. van Engelen
چکیده

This paper presents a novel method for loop optimization that exploits symbolic evaluation of chains of recurrences (CRs). The method generalizes loop induction expression recognition, loop parallelization by induction variable substitution, loop strength reduction , and loop invariant expression elimination (code motion). Symbolic diierencing of loops has been extensively studied by Haghighat for these type of transformations. The diierencing method detects generalized loop induction variables and approximates the corresponding closed-form functions by polynomials bounded to a predetermined maximum order. We will show that compared to diierencing methods, symbolic evaluation with CRs is safe, more powerful, and simpler to implement. We prove that CRs are unique normal forms, which is crucial for the use of CRs as intermediate program representations of recurrences. Based on the algorithms developed by Bachmann, Zima, and Wang, we develop a CR-based algorithm for loop analysis. We present a set of symbolic transformations that deene a partial mapping of CRs to closed-form functions. We also demonstrate the potential of the method for analyzing power series computations in loops. Finally, we demonstrate that the CR intermediate program representation provides a very eeective means for non-linear loop dependence testing.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Deterministic and Metaheuristic Solutions for Closed-loop Supply Chains with Continuous Price Decrease

In a global economy, an efficient supply chain as a main core competency empowers enterprises to provide products or services at the right time in the right quantity, at a low cost. This paper is to plan a single product, multi-echelon, multi-period closed loop supply chain for high-tech products (which have continuous price decrease). Ultimately, considering components rated to procurement, pr...

متن کامل

The CR# Algebra and its Application in Loop Analysis and Optimization

This report presents a novel family of linear-time algorithms for loop analysis based on the CR# (CR-sharp) algebra, which is a new nontrivial extension of the Chains of Recurrences (CR) algebra. Conventional compiler methods apply induction variable substitution and array recovery translations to construct closed forms for induction variables and pointers prior to dependence testing and loop o...

متن کامل

A new mathematical model for the closed-loop supply chains considering pricing for product, a fleet of heterogeneous vehicles, and inventory costs

Mathematical models have been used in many areas of supply chain management. In this paper, we present a mixed-integer non-linear programing (MINLP) model to solve a multi-period, closed-loop supply chains (CLSCs) with two echelons consist of producers and customers. In order to satisfy the demands, the producers are be able to order for materials in the beginning of each period for one or more...

متن کامل

Simultaneous reduction of emissions (CO2 and CO) and optimization of production routing problem in a closed-loop supply chain

Environmental pollution and emissions, along with the increasing production and distribution of goods, have placed the future of humanity at stake. Today, measures such as the extensive reduction in emissions, especially of CO2 and CO, have been emphasized by most researchers as a solution to the problem of environmental protection. This paper sought to explore production routing pro...

متن کامل

Impact of government’s policies on competition of two closed-loop and regular supply chains

With progressing technologies and new features of production, new products compete with older ones in markets. Indeed, new products initiate contest with olden ones and this process repeats in different productions lifetime several times. In this situation recycling the olden products seems to be significant for supply chains. Governments often levy special tariffs for these products as a contr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000